
#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QMap>
#include <QWidget>

QT_BEGIN_NAMESPACE
class QLabel;
class QLineEdit;
class QComboBox;
class QCheckBox;
class QRadioButton;
class QPushButton;
class QGroupBox;
QT_END_NAMESPACE
namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT
public:
    explicit MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

    void changeCurrentWidget(const QString &text);
    void loadCurrentStyleSheet();

    void hiddenAll();

private:
    void setColorBtnColor(QString color);

private:
    Ui::MainWindow *ui;


    QWidget *m_currentWidget;

    QComboBox *switchComboBox;
    QMap<QString, QWidget*> widgets;
    QMap<QWidget*, QMap<QString, QString>> widgetStyleMaps;

    QPushButton *pauseStyleBtn;
};

#endif // MAINWINDOW_H

